package cn.kgc.springboot.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import lombok.Data;

/**
 * 
 * @TableName clazz
 */
@TableName(value ="clazz")
@Data
public class Clazz implements Serializable {
    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 班级名
     */
    @TableField(value = "clazz_name")
    private String clazzName;

    /**
     * 班级人数
     */
    @TableField(value = "student_number")
    private Integer studentNumber;

    /**
     * 班主任
     */
    @TableField(value = "teacher")
    private String teacher;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}